Yay_Currency\WooCommerceCurrency D

Total Complexity 250
Dependencies 2
Dependents 6
Total lines 1,180
Lines of code 1,050
Logical lines of code 582
Comment lines 1
Methods 45
Properties 5

Methods 45

Method Rating Maintainability Complexity Lines of code
change_format_order_item_totals()
B
34 20 90
change_shipping_cost()
B
37 21 66
get_formatted_order_subtotal()
B
37 17 73
get_formatted_order_shipping()
B
39 16 64
change_format_order_line_subtotal()
A
42 10 53
add_woocommerce_filters()
A
39 9 58
update_currency_option()
A
40 8 66
get_formatted_order_discount()
A
46 9 37
get_formatted_order_total()
A
47 8 38
get_current_screen()
A
47 7 34
calculate_price_by_currency()
S
49 7 30
update_exchange_rate_currency()
S
51 7 25
update_currency_meta_option()
S
55 7 20
custom_subscription_price_string()
S
48 6 32
calculate_price_by_currency_html()
S
49 6 30
conditional_payment_gateways()
S
53 6 24
custom_subscription_signup_fee_for_cart()
S
57 6 15
evaluate_cost()
S
49 5 29
doHooks()
S
47 3 36
custom_raw_price()
S
64 5 10
change_existing_currency_symbol()
S
63 5 10
change_currency_position()
S
65 5 9
change_thousand_separator()
S
65 5 9
change_decimal_separator()
S
65 5 9
change_number_decimals()
S
65 5 9
add_order_currency_meta()
S
59 4 12
custom_mini_cart_price()
S
67 4 7
custom_checkout_order_total()
S
62 3 12
custom_checkout_order_subtotal()
S
62 3 12
get_currency_by_ID()
S
51 2 25
custom_checkout_product_subtotal()
S
63 3 10
get_symbol_by_currency()
S
68 3 7
round_line_tax()
S
69 3 6
add_notice_checkout_payment_methods()
S
66 2 7
getInstance()
S
70 2 7
change_coupon_amount()
S
71 2 6
custom_variation_price_hash()
S
70 2 6
custom_stripe_request_total_amount()
S
64 2 10
get_currencies_post_type()
S
63 1 11
get_current_and_default_currency()
S
65 1 9
show_notice_notification()
S
72 1 7
round_at_subtotal()
S
79 1 3
get_values_for_total()
S
66 1 9
get_cart_subtotal_for_order()
S
70 1 7
__construct()
S
98 1 1